package com.situ.hospital.patient.dao;

import java.sql.SQLException;
import java.util.List;

import com.situ.hospital.patient.model.PatientModel;

public interface IPatientDao {

	Integer insert(PatientModel patient);

	PatientModel selectModel(PatientModel patient) throws SQLException;

	List<PatientModel> selectAll(PatientModel patient) throws SQLException;

	Integer deleteByName(PatientModel patient) throws SQLException;

	Integer updateByName(PatientModel patient) throws SQLException;

	Integer selectCount(PatientModel patient) throws SQLException;

}